        <header id="headerid" class="mui-bar mui-bar-nav h-bg">
        <div id="" class="h-left" onclick="backpage()">
            <img src="__STATIC__/mobile/img/back.png" width="8%" height="50%" style="vertical-align: middle;" />
					<span id="" style="padding-left: 6px;font-size: 16px;">
		        		返回
		        	</span>
        </div>
        <!--
            作者：offline
            时间：2018-06-26
            描述：
        -->
        <h1 class="mui-title"><img src="__STATIC__/mobile/img/logo.png" width="" height="23px" style="vertical-align: middle;"/></h1>

        <div id="" class="h-right" onclick="setcd()">
					<span id="" style="padding-right: 6px;font-size: 16px;">
		        		导航
		        	</span>
            <img src="__STATIC__/mobile/img/gd.png" width="18%" height="50%" />
        </div>

        <div class="caidan" id="caidanid">
            <div id="" class="cd-header">
                <div class="cd-img"  >
                    <if condition="$person.headimage == ''">
                        <img src="__STATIC__/mobile/img/my-1.png" width="40%" height="40%" />
                        <else/>
                        <img src="__STATIC__/uploads/{$person.headimage}" width="40%" height="40%" />
                    </if>
                </div>
                <div id="" v-if="type == 0">
                    <if condition="session('info_user') == ''">
                        <div id="" class="cd-regst" _href="{:url('Login/zregister')}" onclick="setpage($(this))">
                            注册
                        </div>
                        <div id="" class="cd-login" _href="{:url('Login/login')}" onclick="setpage($(this))">登录
                        </div>
                    <else/>
                        <div id="" class="cd-regst" _href="{:url('Center/zindex')}" onclick="setpage($(this))">
                            个人中心
                        </div>
                        <div id="" class="cd-login" _href="{:url('Login/login_out')}" onclick="login_out()">登出
                        </div>
                    </if>

                </div>
                <!-- <div id="" class="cd-per" v-else onclick="setpage('z/z-personal.html')">
                    个人中心
                </div>
 -->
            </div>
            <div class="cd-centent">
                <ul>
                    <li _href="{:url('Index/zindex')}" onclick="setpage($(this))"><img src="__STATIC__/mobile/img/cd-sy.png" /><span>首页</span></li>
                    <li _href="{:url('Company/zquery')}" onclick="setpage($(this))"><img src="__STATIC__/mobile/img/cd-qy.png" /><span>企业查询</span></li>
                    <li _href="{:url('Dynamic/zindex')}" onclick="setpage($(this))"><img src="__STATIC__/mobile/img/cd-dt-1.png" /><span>最新动态</span></li>
                    <li _href="{:url('Publicity/zindex')}" onclick="setpage($(this))"><img src="__STATIC__/mobile/img/cd-gg.png" /><span>公示公告</span></li>
                    <li _href="{:url('Notice/zindex')}" onclick="setpage($(this))"><img src="__STATIC__/mobile/img/cd-tz.png" /><span>通知公告</span></li>
                    <li _href="{:url('Policy/zindex')}" onclick="setpage($(this))"><img src="__STATIC__/mobile/img/cd-zc.png" /><span>政策文件</span></li>
                    <li _href="{:url('Set/zabout')}" onclick="setpage($(this))"><img src="__STATIC__/mobile/img/cd-my.png" /><span>关于我们</span></li>
                    <li _href="{:url('mechanism/zindex')}" onclick="setpage($(this))"><img src="__STATIC__/mobile/img/cd-jr.png" /><span>加入我们</span></li>
                </ul>
            </div>
        </div>
    </header>
        <script>
            function login_out(){
                $.ajax({
                    url:"{:url('Login/login_out')}",
                    type:'POST',
                    async:false,
                    processData:false,
                    contentType:false,
                    success:function(result){
                        if(result.code == 0){
                            layer.open({
                                content:result.msg,
                                skin:"msg",
                                time:2
                            });
                        }else{
                            layer.open({
                                    content:result.msg,
                                    btn: ['确定'],
                                    yes:function (index, item) {
                                        parent.location.href = result.url;
                                    }
                            });
                        }
                    }

                });
            }
        </script>
